<!--
 * @Author: tingke
 * @Date: 2022-02-13 11:12:15
 * @LastEditors: tingke
 * @LastEditTime: 2022-02-13 14:43:18
 * @FilePath: /vue-template/src/views/Home.vue
-->
<template>
    <div class="home">
        <el-button>默认</el-button>
        <img alt="Vue logo" src="../assets/logo.png" />
    </div>
</template>

<script>
export default {
    name: 'Home',
    data() {
        return {
            btnWidth: '120px'
        };
    }
};
</script>

<style lang="scss" scoped>
.el-button {
    width: v-bind(btnWidth);
}
</style>
